

log using NCA_Analysis_log, text

use "NCA_panel.dta", clear

sort ccode year
xi i.year

xtset ccode year


logit nca l.IdealPointDistance_US _Iyear_1951 - _Iyear_2010, cluster(ccode)
estimates store m1

logit nca l.IdealPointDistance_US l2.defense_US l2.ln_GNP l2.country_dem l2.cinc _Iyear_1951 - _Iyear_2010, cluster(ccode)
estimates store m2


esttab m1 m2 using Table2.tex, se star(+ 0.10 * 0.05 ** 0.01) replace



log close